<?php // gui file xuong client
$name="Document/TL huong dan su dung.doc";
$name_tmp="TL huong dan su dung";
// We'll be outputting a .sql
header('Content-type: text/doc');

// It will be called $backup_name_tmp.sql
header('Content-Disposition: attachment; filename="'.$name_tmp.'".doc');

// The SQL source is in $backup_name
$test= "../".$name;
readfile($test);
?>